package com.emip.service;

import java.util.List;

import com.emip.bean.AlarmConfigBean;
import com.emip.bean.DeviceBean;
import com.emip.bean.MonitorTypeBean;

public interface DeviceService {
	public List<DeviceBean> getAll();
	public DeviceBean getDeviceByID(int id);
	public DeviceBean addDevice(MonitorTypeBean monitorType, String deviceType,
			String devicename, String deviceDisplayName, String instructionCode, 
			String deviceImageUrl, int dWordSeq, int bitSeq, double statusValue,
			String statDesc, int controllFlag, String statImageUrl, AlarmConfigBean alarmConfig,
			String alarmContent, String remark);
			
	public DeviceBean updateDevice(int id, MonitorTypeBean monitorType, String deviceType,
			String devicename, String deviceDisplayName, String instructionCode, 
			String deviceImageUrl, int dWordSeq, int bitSeq, double statusValue,
			String statDesc, int controllFlag, String statImageUrl, AlarmConfigBean alarmConfig,
			String alarmContent, String remark);
	
	public Boolean deleteDevice(int id);
}
